"""
@Time ： 2022/9/26 11:02
@Auth ： 陈杰 200320501042
@E-mail : 1612845322@qq.com
"""
# 将元组中所以元素进行相加
from functools import reduce
def myadd(x,y):
    return x+y
sum = reduce(myadd,(2,4,6,8,10))
print(sum)